package com.ktjy.dao;

import com.ktjy.anno.Component;
import com.ktjy.anno.RequestMapping;
import com.ktjy.anno.Value;

@Component("UserDao")
public class UserDao {
    @Value(name="张三")
    private String username;

    @RequestMapping(value = "/insert",method = "post")
    public int insert(){
        System.out.println("执行新增方法");
        return 0;
    }
}
